Parse --features in `cargo metadata` the same
authorAlex Crichton <alex@alexcrichton.com>
Fri, 7 Oct 2016 16:50:29 +0000 (09:50 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 20 Oct 2016 17:08:43 +0000 (10:08 -0700)
commit49fe6500c6ae15592474f8743b225cdc77d7fcc2
tree1d4d32f9371c8792bbb37281fffd1a0e2302615a
parent02fed69e71806989a96ae372f5d0f7cbb9528c37
Parse --features in `cargo metadata` the same

This accidentally didn't accept space-separated features passed through
`--features` as the logic for doing the splitting wasn't shared. Let's share it!
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_output_metadata.rs
tests/metadata.rs